package formbeans;

import java.util.ArrayList;
import java.util.List;

import org.mybeans.form.FormBean;

public class NetworkBinaryQuestionForm extends FormBean {

	private String[] nbinChoice;
	
	public String[] getNbinChoice() {
		return nbinChoice;
	}

	public void setNbinChoice(String[] nbinChoice) {
		this.nbinChoice = nbinChoice;
	}
	
	public List<String> checkNetworkBinaryQuestionFormErrors(){
		List<String> errors = new ArrayList<String>();
		
		if (nbinChoice == null) {
			errors.add("Invalid choice (null)");
		}
		return errors;
	}
}